powered by
Contour plot of a Gaussian mixture model in \(S^2\).
mixnorm.contour(x, mod)
A matrix with the compositional data.
An object containing the output of a mix.compnorm model.
mix.compnorm
A ternary plot with the data and the contour lines of the fitted Gaussian mixture model.
The contour plot of a Gaussian mixture model is plotted. For this you need the data and the fitted model.
Ryan P. Browne, Aisha ElSherbiny and Paul D. McNicholas (2015). R package mixture: Mixture Models for Clustering and Classification
Aitchison J. (1986). The statistical analysis of compositional data. Chapman \& Hall.
mix.compnorm, bic.mixcompnorm, diri.contour
# NOT RUN { x <- as.matrix(iris[, 1:3]) x <- x / rowSums(x) mod <- mix.compnorm(x, 3, model = "EII") mixnorm.contour(x, mod) # }
Run the code above in your browser using DataLab